package com.indusfo.spc.pojo;

import com.indusfo.spc.common.pojo.BasePojo;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;

/**
 *
 * @author yujn
 *
 */

@Table(name="ba_dete")
public class Dete extends BasePojo {


	@Id
	@Column(name="dete_id",insertable = false)
	private Integer deteId;//检测项目ID

	private String deteCode;//检测项目编码

	private String deteName;//检测项目名称

	private Integer deteUnitId;//计量单位 数据字典101003

	private Integer insTypeId;//仪器类型 数据字典101006

	private String remark;//说明

	private Integer badphemeId;//不良现象ID

	private Integer errReport;//异常上报

	private Integer projectTypeId;//项目分类

	private Integer dataState;//数据状态

	private Integer gatherTypeId;//采集类别

	private String deteUnitName;//计量单位 翻译

	private String insTypeName;//仪器类型 翻译

	private String projectTypeName;//项目分类  翻译

	private String dataStateName;//数据状态  翻译

	private String gatherTypeName;//采集类别  翻译

	public Integer getDeteId() {
		return deteId;
	}

	public void setDeteId(Integer deteId) {
		this.deteId = deteId;
	}

	public String getDeteCode() {
		return deteCode;
	}

	public void setDeteCode(String deteCode) {
		this.deteCode = deteCode;
	}

	public String getDeteName() {
		return deteName;
	}

	public void setDeteName(String deteName) {
		this.deteName = deteName;
	}

	public Integer getDeteUnitId() {
		return deteUnitId;
	}

	public void setDeteUnitId(Integer deteUnitId) {
		this.deteUnitId = deteUnitId;
	}

	public Integer getInsTypeId() {
		return insTypeId;
	}

	public void setInsTypeId(Integer insTypeId) {
		this.insTypeId = insTypeId;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getBadphemeId() {
		return badphemeId;
	}

	public void setBadphemeId(Integer badphemeId) {
		this.badphemeId = badphemeId;
	}

	public Integer getErrReport() {
		return errReport;
	}

	public void setErrReport(Integer errReport) {
		this.errReport = errReport;
	}

	public Integer getProjectTypeId() {
		return projectTypeId;
	}

	public void setProjectTypeId(Integer projectTypeId) {
		this.projectTypeId = projectTypeId;
	}

	public Integer getDataState() {
		return dataState;
	}

	public void setDataState(Integer dataState) {
		this.dataState = dataState;
	}

	public Integer getGatherTypeId() {
		return gatherTypeId;
	}

	public void setGatherTypeId(Integer gatherTypeId) {
		this.gatherTypeId = gatherTypeId;
	}

	public String getDeteUnitName() {
		return deteUnitName;
	}

	public void setDeteUnitName(String deteUnitName) {
		this.deteUnitName = deteUnitName;
	}

	public String getInsTypeName() {
		return insTypeName;
	}

	public void setInsTypeName(String insTypeName) {
		this.insTypeName = insTypeName;
	}

	public String getProjectTypeName() {
		return projectTypeName;
	}

	public void setProjectTypeName(String projectTypeName) {
		this.projectTypeName = projectTypeName;
	}

	public String getDataStateName() {
		return dataStateName;
	}

	public void setDataStateName(String dataStateName) {
		this.dataStateName = dataStateName;
	}

	public String getGatherTypeName() {
		return gatherTypeName;
	}

	public void setGatherTypeName(String gatherTypeName) {
		this.gatherTypeName = gatherTypeName;
	}

	public Dete(String deteCode, String deteName, String deteUnitName, String insTypeName, String projectTypeName, String gatherTypeName) {
		this.deteCode = deteCode;
		this.deteName = deteName;
		this.deteUnitName = deteUnitName;
		this.insTypeName = insTypeName;
		this.projectTypeName = projectTypeName;
		this.gatherTypeName = gatherTypeName;
	}

	public Dete() {
	}
}
